package com.sean.designpatterns.behavioral.command.monster;

public class AttackCommand implements ICommand {
private Monster monster;

    public AttackCommand(Monster monster) {
        this.monster = monster;
    }

    @Override
    public void execute() {
        monster.attack();
    }
}
